package org.item.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.item.common.enumbean.OrderStatus;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("orders")
public class Orders extends BaseBean implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private Integer   customer_id;
    private Integer  user_id;
    private LocalDateTime order_time;
    private BigDecimal total_amount;
    private OrderStatus order_status;
    private LocalDateTime  deal_time;
    private String     contract_filename;
    private String  contract_file;


}
